<template>
  <h1>登录</h1>
  <el-button>
    按钮
  </el-button>

  <el-date-picker
    v-model="value1"
    type="date"
    placeholder="选择日期"
  />
</template>

<script lang="ts" setup>
import { getLoginInfo } from '@/api/common'
import type { ILoginInfo } from '@/api/types/common'
import { onMounted, ref } from 'vue'

const list = ref<ILoginInfo['slide']>([])
const value1 = ref('')

console.log(list.value)

onMounted(() => {
  getLoginInfo().then(res => {
    console.log(res)
  })
})

</script>

<style lang="scss" scoped></style>
